<template>
  <div>
    <el-container>
      <el-header><Header></Header></el-header>
      <el-container>
        <SideBar></SideBar>
        <el-container>
          <el-main>
            <div class="container context">
              <router-view :key="this.$route.fullPath"></router-view></div
          ></el-main>
          <el-footer><Footer></Footer></el-footer>
        </el-container>
      </el-container>
    </el-container>
  </div>
</template>

<script>
import Header from "@/components/Layout/Header";
import Footer from "@/components/Layout/Footer";
import SideBar from "@/components/Layout/Sidebar";
export default {
  name: "App",
  components: { Header, Footer, SideBar },
};
</script>

<style scoped>
.container {
  min-height: 500px;
}
</style>
